package com.example.core;

public enum ErrorCodeMsg {
    TEST_ERROR("9999", "这是一个测试异常"),
    ARTICLE_EMPTY("8001", "商品信息为空");

    ErrorCodeMsg(String code, String message) {
        this.code = code;
        this.message = message;
    }

    private String code;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
